<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Aquo Events</title>
<script src="../../../widgets/htmlpanel/SpryHTMLPanel.js" type="text/javascript"></script>
</head>
<body>
<p>
<a href="data/AquoThon.html" onclick="hp.loadContent(this.href); return false;">Aquo-Thon</a> |
<a href="data/AquoSwing.html" onclick="hp.loadContent(this.href); return false;">Aquo Swing</a> |
<a href="data/AquoUltraMarathon.html" onclick="hp.loadContent(this.href); return false;">Aquo Ultra Marathon</a> |
<a href="data/AquoExtremeSki.html" onclick="hp.loadContent(this.href); return false;">Aquo Extreme Ski</a>
</p>
<div id="event">
	<h2 class="name">Aquo-Thon</h2>
	<div class="info">		
		<div class="location">Whistler, British Columbia</div>
		<div class="date">May 26th</div>
		<p class="description">Join us in Whistler as Extreme Mountain bikers take on the hills and curves of British Columbia.</p>
		<a href="#">directions...</a>
	</div>
</div>
<script type="text/javascript">
var hp = new Spry.Widget.HTMLPanel("event");

hp.addObserver(function(notificationType, notifier, data)
{
	// We are about to load some content for the panel, make sure we modify
	// the URL so that the server knows we want a fragment.

	if (notificationType == "onPreLoad")
		data.url = data.url.replace(/\.html/, "Frag.html");
});
</script>
</body>
</html>
